﻿using Dapper.Contrib.Extensions;
using System;

namespace PuvBuilder
{
    [Table("PuvTask")]
    public class PuvTask
    {
        /// <summary>
        /// 唯一值
        /// </summary>
        [ExplicitKey]
        public string Name { get; set; }
        public string ConnectionStr { get; set; }
        public string Sql { get; set; }

        /// <summary>
        /// 最近一次执行时间
        /// </summary>
        public DateTime LastExecuteTime { get; set; }
    }

}
